import logging

logging.basicConfig(level=logging.DEBUG,format='[%(levelname)s] (%(threadName)-10s) %(message)s',)

if __name__ == "__main__":
    logging.debug('sartting')
    logging.debug('exitting')